package com.example.vo;

import com.example.entity.Tag;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class ArticlePageVO {
    private String cover;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    private Integer id;
    private boolean isPublish;
    private boolean isTop;
    private String title;
    private String description;
    private List<Tag> tags;
    private Integer readNum;
    private Integer readTime;
    private Integer totalWords;
    private String categoryName;
    private Integer categoryId;
}
